package pri.jz.keeper.ui.content.home

import android.app.Application
import pri.jz.keeper.db.AppDatabase
import pri.jz.keeper.repository.UserRepository
import pri.jz.keeper.ui.base.BaseViewModel
import pri.jz.keeper.webservice.WebService
import pri.jz.keeper.webservice.retrofit.UserService

/**
 *Author by: JZ
 *Email: 2451756617@qq.com
 *PS:
 */
class HomeViewModel(application: Application) : BaseViewModel(application) {
    val userRepository = UserRepository(
        WebService.retrofitClient.create(UserService::class.java),
        AppDatabase.getIns(getApplication()).userDao()
    )
    init {

    }


}